﻿using System;
using Citi.GocAttributes.Domain;

namespace Citi.GocAttributes.WebUI.Models
{
    public class RuleConditionModel : ModelBase<RuleConditionModel, RuleCondition>
    {
        public int RuleId { get; set; }
        public DatabaseEnums.RuleType Type { get; set; }
        public string Value { get; set; }
        public DateTime ReferenceDate { get; set; }
        public DateTime LastUpdate { get; set; }
        public int ManagedSegmentId { get; set; }
        public int FunctionId { get; set; }

        public ManagedSegmentModel ManagedSegment { get; set; }
        public FunctionModel Function { get; set; }
    }
}